#[macro_use]
extern crate lazy_static;
extern crate tokio;
//

use chrono::prelude::Local;
// 自身mod
mod core;
mod dev;
mod infra;
mod services;

#[tokio::main]
async fn main() {
    println!("start .... {}", Local::now());

    //2020-04-04 13:06:28.144039
    //infra::init_psql();
    //infra::init_redis();
    //dev::dev_0();
    //dev::dev_2();
    //dev::dev_3();
    //services::services_dev(handling_service: impl HandlingServices)
    // 防止程序跑路！

    //dev::dev_services();

    println!("dev_* 已经跑完喽");
    infra::mrpc::mrpc_init().await;
    std::thread::sleep(std::time::Duration::from_millis(10000));
}
